package pojo;

import java.util.Date;

/**
 * 会员管理类中有会员信息，收获地址信息，订单详情
 * 姚波
 */
public class MembershipManagement {
    private int u_id;                   //会员id
    private String u_account;           //会员账号
    private String u_nickname;          //会员名字
    private String u_gender;               //会员性别
    private String u_phonenumber;       //会员手机号
    private String u_email;             //会员邮箱
    private String u_address;           //用户地址
    private int u_integral;             //会员积分
    private Date u_regdate;             //注册时间

    private int harve_Id;               //收获地址id
    private String harve_Region;        //所在地区
    private String harve_Address;       //详细地址

    private int ORDERS_ID;              //订单id
    private String WARE_ID;             //商品ID（集合）
    private double ORDERS_PRICE;        //用户订单总价
    private String ORDERS_STATE;           //用户订单状态
    private String ORDERS_ADDRESS;      //用户收货地址
    private String ORDERS_REMARKS;      //用户订单备注
    private Date ORDERS_DATE;           //用户下单时间

    public int getU_id() {
        return u_id;
    }

    public void setU_id(int u_id) {
        this.u_id = u_id;
    }

    public String getU_account() {
        return u_account;
    }

    public void setU_account(String u_account) {
        this.u_account = u_account;
    }

    public String getU_nickname() {
        return u_nickname;
    }

    public void setU_nickname(String u_nickname) {
        this.u_nickname = u_nickname;
    }

    public String getU_gender() {
        return u_gender;
    }

    public void setU_gender(String u_gender) {
        this.u_gender = u_gender;
    }

    public String getU_phonenumber() {
        return u_phonenumber;
    }

    public void setU_phonenumber(String u_phonenumber) {
        this.u_phonenumber = u_phonenumber;
    }

    public String getU_email() {
        return u_email;
    }

    public void setU_email(String u_email) {
        this.u_email = u_email;
    }

    public String getU_address() {
        return u_address;
    }

    public void setU_address(String u_address) {
        this.u_address = u_address;
    }

    public int getU_integral() {
        return u_integral;
    }

    public void setU_integral(int u_integral) {
        this.u_integral = u_integral;
    }

    public Date getU_regdate() {
        return u_regdate;
    }

    public void setU_regdate(Date u_regdate) {
        this.u_regdate = u_regdate;
    }

    public int getHarve_Id() {
        return harve_Id;
    }

    public void setHarve_Id(int harve_Id) {
        this.harve_Id = harve_Id;
    }

    public String getHarve_Region() {
        return harve_Region;
    }

    public void setHarve_Region(String harve_Region) {
        this.harve_Region = harve_Region;
    }

    public String getHarve_Address() {
        return harve_Address;
    }

    public void setHarve_Address(String harve_Address) {
        this.harve_Address = harve_Address;
    }

    public int getORDERS_ID() {
        return ORDERS_ID;
    }

    public void setORDERS_ID(int ORDERS_ID) {
        this.ORDERS_ID = ORDERS_ID;
    }

    public String getWARE_ID() {
        return WARE_ID;
    }

    public void setWARE_ID(String WARE_ID) {
        this.WARE_ID = WARE_ID;
    }

    public double getORDERS_PRICE() {
        return ORDERS_PRICE;
    }

    public void setORDERS_PRICE(double ORDERS_PRICE) {
        this.ORDERS_PRICE = ORDERS_PRICE;
    }

    public String getORDERS_STATE() {
        return ORDERS_STATE;
    }

    public void setORDERS_STATE(String ORDERS_STATE) {
        this.ORDERS_STATE = ORDERS_STATE;
    }

    public String getORDERS_ADDRESS() {
        return ORDERS_ADDRESS;
    }

    public void setORDERS_ADDRESS(String ORDERS_ADDRESS) {
        this.ORDERS_ADDRESS = ORDERS_ADDRESS;
    }

    public String getORDERS_REMARKS() {
        return ORDERS_REMARKS;
    }

    public void setORDERS_REMARKS(String ORDERS_REMARKS) {
        this.ORDERS_REMARKS = ORDERS_REMARKS;
    }

    public Date getORDERS_DATE() {
        return ORDERS_DATE;
    }

    public void setORDERS_DATE(Date ORDERS_DATE) {
        this.ORDERS_DATE = ORDERS_DATE;
    }

    public MembershipManagement() {
    }

    public MembershipManagement(int u_id, String u_account, String u_nickname, String u_gender, String u_phonenumber, String u_email, String u_address, int u_integral, Date u_regdate, int harve_Id, String harve_Region, String harve_Address, int ORDERS_ID, String WARE_ID, double ORDERS_PRICE, String ORDERS_STATE, String ORDERS_ADDRESS, String ORDERS_REMARKS, Date ORDERS_DATE) {
        this.u_id = u_id;
        this.u_account = u_account;
        this.u_nickname = u_nickname;
        this.u_gender = u_gender;
        this.u_phonenumber = u_phonenumber;
        this.u_email = u_email;
        this.u_address = u_address;
        this.u_integral = u_integral;
        this.u_regdate = u_regdate;
        this.harve_Id = harve_Id;
        this.harve_Region = harve_Region;
        this.harve_Address = harve_Address;
        this.ORDERS_ID = ORDERS_ID;
        this.WARE_ID = WARE_ID;
        this.ORDERS_PRICE = ORDERS_PRICE;
        this.ORDERS_STATE = ORDERS_STATE;
        this.ORDERS_ADDRESS = ORDERS_ADDRESS;
        this.ORDERS_REMARKS = ORDERS_REMARKS;
        this.ORDERS_DATE = ORDERS_DATE;
    }

    @Override
    public String toString() {
        return "MembershipManagement{" +
                "u_id=" + u_id +
                ", u_account='" + u_account + '\'' +
                ", u_nickname='" + u_nickname + '\'' +
                ", u_gender=" + u_gender +
                ", u_phonenumber='" + u_phonenumber + '\'' +
                ", u_email='" + u_email + '\'' +
                ", u_address='" + u_address + '\'' +
                ", u_integral=" + u_integral +
                ", u_regdate=" + u_regdate +
                ", harve_Id=" + harve_Id +
                ", harve_Region='" + harve_Region + '\'' +
                ", harve_Address='" + harve_Address + '\'' +
                ", ORDERS_ID=" + ORDERS_ID +
                ", WARE_ID='" + WARE_ID + '\'' +
                ", ORDERS_PRICE=" + ORDERS_PRICE +
                ", ORDERS_STATE=" + ORDERS_STATE +
                ", ORDERS_ADDRESS='" + ORDERS_ADDRESS + '\'' +
                ", ORDERS_REMARKS='" + ORDERS_REMARKS + '\'' +
                ", ORDERS_DATE=" + ORDERS_DATE +
                '}';
    }
}
